import { useAppStore } from '@/store/app'

export const getDict = (dictType: string) => {
  const appStore = useAppStore()
  return appStore.dictList.find((dict) => dict.dictType === dictType)
}
